﻿using System;

// 版权所有：2014  All Rights Reserved.
// 文 件 名：Diary.cs
// 功能描述：
// 创建标识：m.sh.lin0328@163.com 2014/12/13 18:17:10
// 修改描述：
//----------------------------------------------------------------*/
namespace MslDiary.Model
{
    public class A_Diary : MslDiary.Framework.ViewModelBase
    {
        private string _title;
        private string _keyWord;
        public int Id { get; set; }
        /// <summary>关键词</summary>
        public string KeyWord
        {
            get { return _keyWord; }
            set
            {
                if (this._keyWord == value)
                    return;
                this._keyWord = value;
                this.RaisePropertyChanged("KeyWord");
            }
        }
        /// <summary>标题</summary>
        public string Title
        {
            get { return _title; }
            set
            {
                if (this._title == value)
                    return;
                this._title = value;
                this.RaisePropertyChanged("Title");
            }
        }
        /// <summary>天气Id</summary>
        public int WeatherId { get; set; }
        /// <summary>天气</summary>
        public string Weath { get; set; }
        /// <summary>心情Id</summary>
        public int MoodId { get; set; }
        /// <summary>心情</summary>
        public string Mood { get; set; }
        /// <summary>分组Id</summary>
        public int GroupId { get; set; }
        /// <summary>附件数量</summary>
        public int AttachNum { get; set; }
        /// <summary>分组名</summary>
        public string GroupName { get; set; }
        /// <summary>类别Id 多个用逗号隔开</summary>
        public string TypeId { get; set; }
        public string TypeName { get; set; }
        public string IsDelete { get; set; }
        public string IsEnable { get; set; }
        /// <summary>摘要</summary>
        public string Summary { get; set; }
        /// <summary>内容</summary>
        public string Content { get; set; }
        public DateTime CreateDate { get; set; }
        public DateTime ModifyDate { get; set; }
        /// <summary>日记日期</summary>
        public DateTime DiaryDate { get; set; }
        /// <summary>日记日期</summary>
        public int DiaryYear { get; set; }
        /// <summary>日记日期</summary>
        public int DiaryMonth { get; set; }
        /// <summary>日记日期</summary>
        public int DiaryDay { get; set; }
        /// <summary>背景图</summary>
        public string BackGroundPath { get; set; }
    }
}
